<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
    content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>移动端分类页（申）</title>
    <!-- 先引入各种文件 -->
    <link rel="stylesheet" href="./lib/mui/css/mui.min.css">
    <link rel="stylesheet" href="./lib/fa/css/font-awesome.min.css">
    <link rel="stylesheet" href="./css/common.css">
    <link rel="stylesheet" href="./css/category.css">

</head>
<body>
    <!-- 整体盒子构建 -->
    <div class="lt-layout">
        <!-- 头部 -->
        <div class="lt-header fl-x">
            <a href="index.html" class="mui-pull-left"><i class="mui-icon mui-icon-home"></i></a>
            <h4>乐淘云购</h4>
            <a href="search.html" class="mui-pull-right"><i class="mui-icon mui-icon-search"></i></a>
        </div>
        <!-- 中间 -->
        <div class="lt-content fl-x">
            <ul class="left">
                <!-- 引入侧边栏的滚动条 -->
                <div class="mui-scroll-wrapper">
                    <div class="mui-scroll">
                        <!--这里放置真实显示的DOM内容-->
                        <li><a class="current" href="#">运动馆1</a></li>
                        <li><a href="#">运动馆2</a></li>
                        <li><a href="#">运动馆3</a></li>
                        <li><a href="#">运动馆4</a></li>
                        <li><a href="#">运动馆5</a></li>
                        <li><a href="#">运动馆6</a></li>
                        <li><a href="#">运动馆7</a></li>
                        <li><a href="#">运动馆1</a></li>
                        <li><a href="#">运动馆2</a></li>
                        <li><a href="#">运动馆3</a></li>
                        <li><a href="#">运动馆4</a></li>
                        <li><a href="#">运动馆5</a></li>
                        <li><a href="#">运动馆6</a></li>
                        <li><a href="#">运动馆7</a></li>

                    </div>
                </div>
            </ul>
            <div class="right">
               <a href="#">
                        <img src="./images/brand1.png" alt="">
                        <p>耐克</p>
                    </a>
               <a href="#">
                        <img src="./images/brand2.png" alt="">
                        <p>耐克</p>
                    </a>
               <a href="#">
                        <img src="./images/brand3.png" alt="">
                        <p>耐克</p>
                    </a>
               <a href="#">
                        <img src="./images/brand4.png" alt="">
                        <p>耐克</p>
                    </a>
               <a href="#">
                        <img src="./images/brand5.png" alt="">
                        <p>耐克</p>
                    </a>
                
            </div>
        </div>
        <!-- 底部 -->
        <div class="lt-footer">
            <ul class="lt-footer-ul">
                <li>
                    <a href="index.html">
                        <i class="fa fa-home"></i>
                        <p>首页</p>
                    </a>
                </li>
                <li class="current">
                    <a href="#">
                        <i class="fa fa-list"></i>
                        <p>分类页</p>
                    </a>
                </li>
                <li>
                    <a href="#">
                        <i class="fa fa-cart-plus"></i>
                        <p>购物车</p>
                    </a>
                </li>
                <li>
                    <a href="user.html">
                        <i class="fa fa-user-circle"></i>
                        <p>用户中心</p>
                    </a>
                </li>
            </ul>
        </div>
    </div>
    <!-- 侧边栏一级分类模板引擎 -->
    <script type="text/template" id="temp-left">
        {{each rows value index}}
        <li><a class="{{index==0?'current':''}}" data-id="{{value.id}}" href="#">{{value.categoryName}}</a></li>
        {{/each}}
    </script>
    <!-- 右边二级分类模板引擎 -->
    <script type="text/template" id="temp-right">
    {{each rows value index}}
    <a href="#">
            <img src="{{value.brandLogo}}" alt="">
            <p>{{value.brandName}}</p>
        </a>
    {{/each}}

    </script>
    <script src="./lib/artTemplate/template-web.js"></script>
    <script src="./lib/mui/js/mui.js"></script>
    <script src="./lib/zepto/zepto.min.js"></script>
    <script src="./js/commone.js"></script>
    <script src="./js/category.js"></script>
</body>
</html>